package kingwing.dc.core.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;
/**
 * 词法分析表
 * @author Kevin
 * 2017年9月17日
 */
@Entity
@Table(name="DC_LEXICAL_ANALYSIS")
public class LexicalAnalysis extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4906767616673129062L;

	@PropertyDef(label="基本词成分")
	@Column(name="BASIC_WORDS_",length=512)
	private String basicWords;
	
	@PropertyDef(label="词汇")
	@Column(name="ITEM_",length=512)
	private String item;
	
	@PropertyDef(label="命名实体类型")
	@Column(name="NE_",length=512)
	private String ne;
	
	@PropertyDef(description="字节级length（使用GBK编码）")
	@Column(name="BYTE_LENGTH_",length=125)
	private int byteLength;
	
	@PropertyDef(description="在text中的字节级offset（使用GBK编码）")
	@Column(name="BYTE_OFFSET_",length=125)
	private int byteOffset;
	
	@PropertyDef(description="词性，词性标注算法使用。命名实体识别算法中，此项为空串")
	@Column(name="POS_",length=125)
	private String pos;
	
	@PropertyDef(label="信息ID")
	@Column(name="INFOS_ID_",length=512)
	private String infosId;
	
	@PropertyDef(label="信息标题")
	@Column(name="INFOS_TITLE_",length=512)
	private String infosTitle;
	
	@PropertyDef(label="规则名称")
	@Column(name="RULE_NAME_",length=512)
	private String ruleName;

	public String getRuleName() {
		return ruleName;
	}

	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}

	public String getBasicWords() {
		return basicWords;
	}

	public void setBasicWords(String basicWords) {
		this.basicWords = basicWords;
	}

	public String getItem() {
		return item;
	}

	public void setItem(String item) {
		this.item = item;
	}

	public String getNe() {
		return ne;
	}

	public void setNe(String ne) {
		this.ne = ne;
	}

	public int getByteLength() {
		return byteLength;
	}

	public void setByteLength(int byteLength) {
		this.byteLength = byteLength;
	}

	public int getByteOffset() {
		return byteOffset;
	}

	public void setByteOffset(int byteOffset) {
		this.byteOffset = byteOffset;
	}

	public String getPos() {
		return pos;
	}

	public void setPos(String pos) {
		this.pos = pos;
	}

	public String getInfosId() {
		return infosId;
	}

	public void setInfosId(String infosId) {
		this.infosId = infosId;
	}

	public String getInfosTitle() {
		return infosTitle;
	}

	public void setInfosTitle(String infosTitle) {
		this.infosTitle = infosTitle;
	}
	
	
}
